package com.gk.carshopsys.dao;

import com.gk.carshopsys.pojo.AfterOrder;
import com.gk.carshopsys.pojo.AfterOrderImport;
import com.gk.carshopsys.pojo.CarOrder;
import com.gk.carshopsys.pojo.CarOrderImport;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Repository
@Mapper
public interface AfterOrderDao {

    public Long findOrderMouthCountIncome();

    public Long findOrderMouthCount();

    public List<CarOrder> findAfterOrder(HashMap<String, String> params);

    public int addAfterOrder(AfterOrder afterOrder);

    //批量新增库存
    public int addAfterOrderByList(List<AfterOrderImport> list);

    public int updateAfterOrderById(AfterOrder afterOrder);

    public int delAfterOrder(List<Integer> afterorder);
}
